<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
document.addEventListener('DOMContentLoaded', () => {
  const html = document.querySelector('html')
  const fontSize = window.innerWidth / 10
  const fontSizes = fontSize > 50 ? 50 : fontSize
  html.style.fontSize = fontSizes + 'px'
})
export default {

}
</script>

<style lang="scss" scoped>
@import './style/index';
.icon-back {
  font-size: px2rem(20);
}
</style>
